<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
login successful!!!<br>
get from <b>Stack Context</b>:<br>
These items are available using #key notation<br>
<b>stack context | jsp objects</b><br>
<s:property value="#request.r1" /> | <%=request.getAttribute("r1") %><br>
<s:property value="#session.s1" /> | <%=session.getAttribute("s1") %><br>
<s:property value="#application.a1" /> | <%=application.getAttribute("a1") %><br>
<b>attr properties in stack context:</b><br>
<s:property value="#attr.a1" /><br>
<s:property value="#attr.s1" /><br>
<s:property value="#attr.r1" /><br>
<s:debug></s:debug>
</body>
</html>